<html>
    <head>
        <title>DOM-jquery></title>
        <script src="./js/jquery-3.6.0.min.js" type="text/javascript"></script>
        <script>
            $(document).ready(function () {
                var domobj=document.getElementById("index");
                alert("dom获取p节点："+domobj.innerHTML);
                var $jqueryobj=$(domobj);
                alert("jquery获取p节点："+$jqueryobj.html());
            });
        </script>
    </head>
    <body>
        <h1>风</h1>
        <p id="index">清风</p>
    </body>
</html>